package com.example.springbootdemoentity.entity;

import lombok.Data;

@Data
public class Product {

    private String name;
    private int age;
    private String add;
    private String email;

    public Product(String name, int age, String add, String email) {
        this.name = name;
        this.age = age;
        this.add = add;
        this.email = email;
    }
    public Product(){

    }

    @Override
    public String toString() {
        return "Product{" +
                "name='" + name + '\'' +
                ", age=" + age +
                ", add='" + add + '\'' +
                ", email='" + email + '\'' +
                '}';
    }

}
